package day10;

import java.sql.SQLOutput;
import java.util.Date;

public class DateDemo {
    public static void main(String[] args) {
        Date d=new Date();
        System.out.println(d);
        long time=d.getTime();
        System.out.println(time);
        System.out.println(System.currentTimeMillis());
        long afterThreeDay =System.currentTimeMillis()+3L*24*60*60*1000;
        Date td=new Date(afterThreeDay);
        System.out.println(td);

    }
}
